package com.dys.hejiayuncommunity.web.test;

import javax.validation.constraints.NotNull;

/**
 * @className: com.dys.hejiayuncommunity.web.test.User
 * @description: com.dys.hejiayuncommunity.web.test
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/12/02 22:03
 */
public class User implements java.io.Serializable {
    private final long serialVersionUID = 1L;
    @NotNull(message = "userId 不能为空")
    private String userId;
    private String userName;

    public User() {
    }

    public User(String userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
